Poisson and Related Distributions
The Poisson distribution expresses the probability of a given number of events occurring in a fixed interval of time if these events occur with a known constant mean rate and independently of the time since the last event.
\[ P( X = x) = \frac{\lambda^x}{x!}\exp(-\lambda) \]
Properties
Analogy
When \(n \rightarrow \infty\) and \(p \rightarrow 0\), the Binomial distribution approximates the Poisson distribution. In this case, \(\lambda = np\). (Proofs is in the tutorial question)
Implication
When \(r \rightarrow \infty\) and \(p \rightarrow 0\), the Negative Binomial distribution approximates the Poisson distribution. (Proofs is in the tutorial question)
Implication
In practice, the negative binomial distribution is more popular than Poisson distribution
A random variable describing the time (or distance) between two Poisson arrivals. If \(X\) is an event count that follows \(X \sim \text{Poisson}\left( \mu \right)\), then the time \(T\) between events follows \(T \sim \text{Exponential}( \frac{1}{\mu})\).
Properties
\[ f_X( x ) = \lambda e^{-\lambda x} \]
Example
Our dog is dog or wolf Lin et al. (2025)
Let \(x_1,\dots x_n\) be i.i.d random variables from an exponential distribution \(\lambda\), then \(\sum_{i=1}^nx_n \sim \text{Gamma}(n, n\lambda)\). Gamma distribution can be used to describe time elapsing until the accumulation of a specific number of unpredictable events.
Properties
\[ f_X\left( x \right) = \frac{\lambda^\alpha}{\Gamma(\alpha)} x^{\alpha - 1} e^{-\lambda x} , \]
The Gamma distribution is a conjugate prior to the Poisson distribution. Let’s say we have \(n\) observations \(x_1, \dots x_n\) from an unknown Poisson distribution, and we assume the prior probability of \(\lambda \sim \text{Gamma}(\alpha,\beta)\). The posterior estimation of parameter \(\lambda\)
\[ \begin{align} p(\lambda\mid x_1\dots x_i) \propto & \quad p( x_1\dots x_i \mid\lambda)\text{Gamma}(\alpha,\beta) \\ \propto & \quad e^{-n\lambda}\lambda^{\sum x_i}\lambda^{\alpha-1}e^{-\beta\lambda} \\ \propto & \quad \lambda^{\alpha+\sum x_i-1}e^{-(n+\beta)\lambda} \end{align} \]
The posterior distribution: \(\lambda \sim \text{Gamma}(\alpha+\sum x_i,\beta+n)\)
Analogy
Adding pseudo Poisson observations with total \(\alpha\) occurrences in the \(\beta\) time intervals.
The posterior predicitive distribution of \(p(\tilde{x}|\text{data})\) follows Negative binomial distribution
The prove is trivial, but the takeaway is
Let’s say we have \(n\) observations \(x_1, \dots x_n\) from an unknown Exponential distribution, and we assume the prior probability of \(\lambda \sim \text{Gamma}(\alpha,\beta)\). The posterior estimation of parameter \(\lambda\)
\[ \begin{align} p(\lambda\mid x_1\dots x_i) \propto & \quad p( x_1\dots x_i \mid\lambda)\text{Gamma}(\alpha,\beta) \\ \propto & \quad \lambda^n e^{-\lambda \sum x_i }\lambda^{\alpha-1}e^{-\lambda\beta}\\ = & \quad \lambda^{n+\alpha-1}e^{-(\sum x_i+\beta)\lambda} \end{align} \]
Posterior distribution: \(\text{Gamma}(n+\alpha,\sum x_i +\beta)\)
Analogy
Adding pseudo observations with total \(\alpha\) observations over total time \(\beta\)
| Distribution | Parameter | Conjugate Prior | Posterior Hyperparameters | Posterior Predictive |
|---|---|---|---|---|
| Bernoulli | \(p\) | \(\small\text{Beta}(\alpha,\beta)\) | \(\small\begin{aligned}\alpha' = \alpha+\sum x_i, \\ \beta'=\beta+n-\sum x_i\end{aligned}\) | \(\small\text{Bern}(\frac{\alpha'}{\alpha'+\beta'})\) |
| Binomial | \(p\) | \(\small\text{Beta}(\alpha,\beta)\) | \(\small\begin{aligned}\alpha' = \alpha+\sum x_i, \\ \beta'=\beta+\sum n-\sum x_i\end{aligned}\) | \(\small\text{Beta-binomial}(\alpha',\beta')\) |
| Negative Binomial | \(p\) | \(\small\text{Beta}(\alpha,\beta)\) | \(\small\begin{aligned}\alpha' = \alpha+rn, \\ \beta'=\beta+\sum x_i\end{aligned}\) | |
| Geometric | \(p\) | \(\small\text{Beta}(\alpha,\beta)\) | \(\small\begin{aligned}\alpha' = \alpha+n, \\ \beta'=\beta+\sum x_i\end{aligned}\) |
| Distribution | Parameter | Conjugate Prior | Posterior Hyperparameters | Posterior Predictive |
|---|---|---|---|---|
| Poisson | \(\lambda\) | \(\small\text{Gamma}(\alpha,\beta)\) | \(\small\begin{aligned}\alpha' = \alpha+\sum x_i, \\ \beta'=\beta+n\end{aligned}\) | \(\small\text{NB}(\alpha',\frac{\beta'}{1+\beta'})\) |
| Exponential | \(\lambda\) | \(\small\text{Gamma}(\alpha,\beta)\) | \(\small\begin{aligned}\alpha' = \alpha+n, \\ \beta'=\beta+\sum x_i\end{aligned}\) | \(\small\frac{\beta'}{\alpha'}(1+\frac{x}{\alpha'})^{-\beta'-1}\) |